﻿using System;

namespace WebApp.Models
{
    public class BlockModel
    {
        public int BlockId { get; set; }
        public int? SeriesId { get; set; }
        public double BlockWidth { get; set; }
        public double BlockHeight { get; set; }
        public double BlockDepth { get; set; }
        public double BlockWeigthLimit { get; set; }
        public string BlockOutlineUrl { get; set; }
        public string BlockName { get; set; }
        public string BlockDescription { get; set; }
        public string BlockType { get; set; }
        public DateTime BlockCreateDate { get; set; }
        public int? BlockCreateBy { get; set; }
        public DateTime BlockUpdateDate { get; set; }
        public int? BlockUpdateBy { get; set; }

        public string BlockSize
        {
            get { return string.Format("{0}X{1}X{2}", BlockWidth, BlockHeight, BlockDepth); }
        }

    }
}